fpath1 = r"D:\python PPT\实验报告\beat it_eng.txt"
fpath2 = r"D:\python PPT\实验报告\1.txt"
fpath3 = r"D:\python PPT\实验报告\2.txt"
with open(fpath1, 'r') as f:
    a1 = []
    for line in f.readlines()[0:51]:
        a1.append(line)

    with open(fpath2, 'w') as f1:
        for i in a1:
            f1.write(i)

with open(fpath1, 'r') as f:
    a2 = []
    for line in f.readlines()[51:101]:
        a2.append(line)

    with open(fpath3, 'w') as f2:
        for i in a2:
            f2.write(i)








